<template>
  <div id="Loading">
    <div id="Loading_1" class="Loading"></div>
    <div id="Loading_2" class="Loading"></div>
    <div id="Loading_3" class="Loading"></div>
    <div id="Loading_4" class="Loading"></div>
    <div id="Loading_5" class="Loading"></div>
    <div id="Loading_6" class="Loading"></div>
    <div id="Loading_7" class="Loading"></div>
    <div id="Loading_8" class="Loading"></div>
  </div>
</template>

<script>
  export default {
    name: 'Loading',
    data() {
      return {}
    }
  }
</script>

<style scoped>
  #Loading {
    position: relative;
    width: 234px;
    height: 28px;
    margin: auto;
  }

  .Loading {
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 28px;
    height: 28px;
    animation-name: bounce_Loading;
    -o-animation-name: bounce_Loading;
    -ms-animation-name: bounce_Loading;
    -webkit-animation-name: bounce_Loading;
    -moz-animation-name: bounce_Loading;
    animation-duration: 1.5s;
    -o-animation-duration: 1.5s;
    -ms-animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-direction: normal;
    -o-animation-direction: normal;
    -ms-animation-direction: normal;
    -webkit-animation-direction: normal;
    -moz-animation-direction: normal;
    transform: scale(.3);
    -o-transform: scale(.3);
    -ms-transform: scale(.3);
    -webkit-transform: scale(.3);
    -moz-transform: scale(.3);
    border-radius: 19px;
    -o-border-radius: 19px;
    -ms-border-radius: 19px;
    -webkit-border-radius: 19px;
    -moz-border-radius: 19px;
  }

  #Loading_1 {
    left: 0;
    animation-delay: 0.6s;
    -o-animation-delay: 0.6s;
    -ms-animation-delay: 0.6s;
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
  }

  #Loading_2 {
    left: 29px;
    animation-delay: 0.75s;
    -o-animation-delay: 0.75s;
    -ms-animation-delay: 0.75s;
    -webkit-animation-delay: 0.75s;
    -moz-animation-delay: 0.75s;
  }

  #Loading_3 {
    left: 58px;
    animation-delay: 0.9s;
    -o-animation-delay: 0.9s;
    -ms-animation-delay: 0.9s;
    -webkit-animation-delay: 0.9s;
    -moz-animation-delay: 0.9s;
  }

  #Loading_4 {
    left: 88px;
    animation-delay: 1.05s;
    -o-animation-delay: 1.05s;
    -ms-animation-delay: 1.05s;
    -webkit-animation-delay: 1.05s;
    -moz-animation-delay: 1.05s;
  }

  #Loading_5 {
    left: 117px;
    animation-delay: 1.2s;
    -o-animation-delay: 1.2s;
    -ms-animation-delay: 1.2s;
    -webkit-animation-delay: 1.2s;
    -moz-animation-delay: 1.2s;
  }

  #Loading_6 {
    left: 146px;
    animation-delay: 1.35s;
    -o-animation-delay: 1.35s;
    -ms-animation-delay: 1.35s;
    -webkit-animation-delay: 1.35s;
    -moz-animation-delay: 1.35s;
  }

  #Loading_7 {
    left: 175px;
    animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    -ms-animation-delay: 1.5s;
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
  }

  #Loading_8 {
    left: 205px;
    animation-delay: 1.64s;
    -o-animation-delay: 1.64s;
    -ms-animation-delay: 1.64s;
    -webkit-animation-delay: 1.64s;
    -moz-animation-delay: 1.64s;
  }

  @keyframes bounce_Loading {
    0% {
      transform: scale(1);
      background-color: rgb(0, 0, 0);
    }

    100% {
      transform: scale(.3);
      background-color: rgb(255, 255, 255);
    }
  }

  @-o-keyframes bounce_Loading {
    0% {
      -o-transform: scale(1);
      background-color: rgb(0, 0, 0);
    }

    100% {
      -o-transform: scale(.3);
      background-color: rgb(255, 255, 255);
    }
  }

  @-ms-keyframes bounce_Loading {
    0% {
      -ms-transform: scale(1);
      background-color: rgb(0, 0, 0);
    }

    100% {
      -ms-transform: scale(.3);
      background-color: rgb(255, 255, 255);
    }
  }

  @-webkit-keyframes bounce_Loading {
    0% {
      -webkit-transform: scale(1);
      background-color: rgb(0, 0, 0);
    }

    100% {
      -webkit-transform: scale(.3);
      background-color: rgb(255, 255, 255);
    }
  }

  @-moz-keyframes bounce_Loading {
    0% {
      -moz-transform: scale(1);
      background-color: rgb(0, 0, 0);
    }

    100% {
      -moz-transform: scale(.3);
      background-color: rgb(255, 255, 255);
    }
  }
</style>
